eleventy set default layout

104

eleventy set default layout -

1) Add the following file:

_data/layout.js

2) Edit layout.js:

module.exports = "default.njk";

3) Add the following file:

_includes/default.njk

Comments

Submit
0 Comments